<%@ include file="/html/common/init.jsp" %>

<%
	PortletURL redirectURL = renderResponse.createRenderURL();
	redirectURL.setParameter("jspPage", "/html/verifycontact/step3.jsp");
	
	PortletURL confirmPINURL = renderResponse.createActionURL();
	confirmPINURL.setParameter(ActionRequest.ACTION_NAME, "confirmPIN");
	confirmPINURL.setParameter("redirectURL", redirectURL.toString());
%>

<h3>Enter 4 digit PIN</h3>

Generated PIN (for testing): <%= (String) portletSession.getAttribute("GENERATED_PIN") %>

<aui:form action="<%= confirmPINURL.toString() %>" onSubmit="<%= confirmPINURL.toString() %>" method="POST">
	<aui:input name="fourDigitPin" label="Four Digit PIN"/>
	<aui:button type="submit" value="Proceed &raquo;" />
</aui:form>